<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ServerMap
 *
 * @author yanr
 */
class ServerMap {
    //put your code here
    protected $__id;
    protected $__name;
    protected $__tatter;
    protected $__matrix;
    
    public function __set($param, $value)
    {
        $this->{'__'.$param} = $value;
    }
    
    public function __get($param)
    {
        IF ( isset( $this->{'__'.$param} ) )
        {
            RETURN $this->{'__'.$param};
        }
        ELSE
        {
            RETURN NULL;
        };
    }
}

?>
